using EntityDemo;

var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
//builder.Services.AddRazorPages();
builder.Host.UseAutofac();

await builder.AddApplicationAsync<AppModule>();


var app = builder.Build();

await app.InitializeApplicationAsync();
await app.RunAsync();
